package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.PurchaseStorage;

/**
 * 采购入库记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public interface PurchaseStorageMapper 
{
    /**
     * 查询采购入库记录
     * 
     * @param storageId 采购入库记录主键
     * @return 采购入库记录
     */
    public PurchaseStorage selectPurchaseStorageByStorageId(Long storageId);

    /**
     * 查询采购入库记录列表
     * 
     * @param purchaseStorage 采购入库记录
     * @return 采购入库记录集合
     */
    public List<PurchaseStorage> selectPurchaseStorageList(PurchaseStorage purchaseStorage);

    /**
     * 新增采购入库记录
     * 
     * @param purchaseStorage 采购入库记录
     * @return 结果
     */
    public int insertPurchaseStorage(PurchaseStorage purchaseStorage);

    /**
     * 修改采购入库记录
     * 
     * @param purchaseStorage 采购入库记录
     * @return 结果
     */
    public int updatePurchaseStorage(PurchaseStorage purchaseStorage);

    /**
     * 删除采购入库记录
     * 
     * @param storageId 采购入库记录主键
     * @return 结果
     */
    public int deletePurchaseStorageByStorageId(Long storageId);

    /**
     * 批量删除采购入库记录
     * 
     * @param storageIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePurchaseStorageByStorageIds(String[] storageIds);
}
